package com.manager.car.dao;

import java.util.List;

import com.manager.car.po.AutoPartsInfo;


public interface APIDao {

	//查询单个
		public AutoPartsInfo get(Integer id);
		//查询
		public List<AutoPartsInfo> queryAll(int ye,int size);
		//查询产品总数
		public Long queryAllRow();
		//查询类别产品总数
		public Long queryProRow(String pro);
		//根据属性查询
		public List<AutoPartsInfo> queryPro(int ye,int size,String pro);
		//添加
		public boolean save(AutoPartsInfo api);
		//删除
		public boolean delete(Integer id);
		//修改
		public boolean update(AutoPartsInfo api);

}
